﻿using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI.Selection;

namespace YArchitech.Revit
{
	public class SelectionTypePara
	{
		public SelectionTypePara(BuiltInCategory pipingCategory, BuiltInCategory equipmentCategory, ISelectionFilter pipingFilter, ISelectionFilter equipmentFilter, ISelectionFilter pipingAndEquipmentFilter, string pipingTip, string equipmentTip, string pipingAndEquipmentTip)
		{
			this.pipingCategory = pipingCategory;
			this.equipmentCategory = equipmentCategory;
			this.pipingFilter = pipingFilter;
			this.equipmentFilter = equipmentFilter;
			this.pipingAndEquipmentFilter = pipingAndEquipmentFilter;
			this.pipingTip = pipingTip;
			this.equipmentTip = equipmentTip;
			this.pipingAndEquipmentTip = pipingAndEquipmentTip;
		}

		public ISelectionFilter PipingFilter
		{
			get
			{
				return this.pipingFilter;
			}
			set
			{
				this.pipingFilter = value;
			}
		}

		public ISelectionFilter EquipmentFilter
		{
			get
			{
				return this.equipmentFilter;
			}
			set
			{
				this.equipmentFilter = value;
			}
		}

		public ISelectionFilter PipingAndEquipmentFilter
		{
			get
			{
				return this.pipingAndEquipmentFilter;
			}
			set
			{
				this.pipingAndEquipmentFilter = value;
			}
		}

		public string PipingTip
		{
			get
			{
				return this.pipingTip;
			}
			set
			{
				this.pipingTip = value;
			}
		}

		public string EquipmentTip
		{
			get
			{
				return this.equipmentTip;
			}
			set
			{
				this.equipmentTip = value;
			}
		}

		public string PipingAndEquipmentTip
		{
			get
			{
				return this.pipingAndEquipmentTip;
			}
			set
			{
				this.pipingAndEquipmentTip = value;
			}
		}

		public BuiltInCategory PipingCategory
		{
			get
			{
				return this.pipingCategory;
			}
			set
			{
				this.pipingCategory = value;
			}
		}

		public BuiltInCategory EquipmentCategory
		{
			get
			{
				return this.equipmentCategory;
			}
			set
			{
				this.equipmentCategory = value;
			}
		}

		private ISelectionFilter pipingFilter;

		private ISelectionFilter equipmentFilter;

		private ISelectionFilter pipingAndEquipmentFilter;

		private string pipingTip = "选择水管";

		private string equipmentTip = "请选择设备";

		private string pipingAndEquipmentTip = "请选择水管和设备";

		private BuiltInCategory equipmentCategory = -2001140;

		private BuiltInCategory pipingCategory = -2008000;
	}
}
